function [ slopeVals ] = slopeDiff ( slopeVals )
% Finds the derivative of a spline fit to the curve vals to identify
% regions near the max and min

slopeSpline = spline(slopeVals(:, 1), slopeVals(:, 2));

slopeSplineDiff = fnder(slopeSpline, 1);

slopeVals(:, 3) = ppval(slopeSplineDiff, slopeVals(:, 1));


end

